<template>
  <div id="app">
    <router-view/>
    <TabBar />
  </div>
</template>

<script>
import TabBar from './components/tabbar.vue'

export default {
  name: 'App',
  components: {
    TabBar
  }
}
</script>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

// 确保底部导航栏始终在底部
.router-view {
  flex: 1;
}
</style>